/**
 * 
 */
package com.gopay.common.domain.cps;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @CpsAcctBankBundleRel.java
 * @author Ryan
 * @2013-8-5 下午1:58:09 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "CPS_ACCT_BANK_BUNDLE_REL")
public class CpsAcctBankBundleRel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @SequenceGenerator(name="CPS_ACCT_BANK_BUNDLE_REL_SQ_GENERATOR", sequenceName="CPS_ACCT_BANK_BUNDLE_REL_SEQ" ,allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CPS_ACCT_BANK_BUNDLE_REL_SQ_GENERATOR" )
    @Column(name = "SQ")
    private Long seqNo;

    @Column(name = "ACCT_ID")
    private String acctId;

    @Column(name = "CUST_BANK_ACCT_SQ")
    private Long custBankAcctSeqNo;

    @Column(name = "IS_DEFAULT")
    private Integer defSet;

    @Column(name = "CREATED_TS")
    private Timestamp createdTs;

    @Column(name = "LAST_UPD_TS")
    private Timestamp lastUpdTs;

    @Column(name = "LAST_UPD_TRANCODE")
    private String lastUpdTrancode;

    /**
     * @return the seqNo
     */
    public Long getSeqNo() {
        return seqNo;
    }

    /**
     * @param seqNo
     *            the seqNo to set
     */
    public void setSeqNo(Long seqNo) {
        this.seqNo = seqNo;
    }

    /**
     * @return the acctId
     */
    public String getAcctId() {
        return acctId;
    }

    /**
     * @param acctId
     *            the acctId to set
     */
    public void setAcctId(String acctId) {
        this.acctId = acctId;
    }

    /**
     * @return the custBankAcctSeqNo
     */
    public Long getCustBankAcctSeqNo() {
        return custBankAcctSeqNo;
    }

    /**
     * @param custBankAcctSeqNo
     *            the custBankAcctSeqNo to set
     */
    public void setCustBankAcctSeqNo(Long custBankAcctSeqNo) {
        this.custBankAcctSeqNo = custBankAcctSeqNo;
    }

    /**
     * @return the defSet
     */
    public Integer getDefSet() {
        return defSet;
    }

    /**
     * @param defSet
     *            the defSet to set
     */
    public void setDefSet(Integer defSet) {
        this.defSet = defSet;
    }

    /**
     * @return the createdTs
     */
    public Timestamp getCreatedTs() {
        return createdTs;
    }

    /**
     * @param createdTs
     *            the createdTs to set
     */
    public void setCreatedTs(Timestamp createdTs) {
        this.createdTs = createdTs;
    }

    /**
     * @return the lastUpdTs
     */
    public Timestamp getLastUpdTs() {
        return lastUpdTs;
    }

    /**
     * @param lastUpdTs
     *            the lastUpdTs to set
     */
    public void setLastUpdTs(Timestamp lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    /**
     * @return the lastUpdTrancode
     */
    public String getLastUpdTrancode() {
        return lastUpdTrancode;
    }

    /**
     * @param lastUpdTrancode
     *            the lastUpdTrancode to set
     */
    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode;
    }

}
